package org.agpsoft.datareceiverinfrastructure.builder;

import org.agpsoft.datareceiverinfrastructure.common.IElementInitiator;
import org.agpsoft.datareceiverinfrastructure.exception.DataReceiverException;

/**
 * This interface aims to implement main handler for receiver main handler
 * @author Ali Gokalp Peker
 *
 */
public interface IDataReceiverMainHandler extends IElementInitiator{
	
	/**
	 * This method handles a whole processing step for data receiver, throws {@link DataReceiverException}
	 * in any error 
	 * @throws DataReceiverException
	 */
	public void handle() throws DataReceiverException;
}
